/* $Id: UserIdComparator.java 67 2010-10-11 10:26:34Z altdotua@gmail.com $ */

package alt.djudge.frontend.server.utils;

import java.util.Comparator;

import alt.djudge.frontend.server.datatypes.scores.ContestUserScoreEntry;


public class UserIdComparator implements Comparator<ContestUserScoreEntry>
{

	@Override
	public int compare(ContestUserScoreEntry o1, ContestUserScoreEntry o2)
	{
		return o1.getUserId().compareTo(o2.getUserId());
	}

}
